작업(포트폴리오) 진행 게시판 > 그누4 스킨

그누4 스킨

스킨의 저작권은 해당 스킨 제작자님께 있으며, 그누보드의 저작권과 다를 수 있습니다.
스킨 다운로드시 좋아요와 감사의 코멘트를 남기시면 제작자에게 큰 힘이됩니다. ^^y
그누보드와 관련이 있지만 스킨과 빌더가 아니면 플러그인 게시판에 올려주세요.

작업(포트폴리오) 진행 게시판 정보

게시판 작업(포트폴리오) 진행 게시판

첨부파일

basic_progress.zip (113.3K) 826회 다운로드 2008-12-15 13:15:36
thumbEngine.zip (19.6K) 841회 다운로드 2008-12-09 04:38:19

본문

시간이 나서 작업 진행 게시판을 하나 만들어봤습니다.

진행그래프 소스는
J2님의 팁을 이용했습니다.
http://sir.co.kr/bbs/tb.php/g4_skin/27391/13dd8f3c18c4fb7f559fda2a7244b9ff


그누보드 베이직 4.22.02로 작업했습니다.
목록 썸네일은 thumbEngine을 이용했구요.
여분필드는.
wr_1
wr_2
wr_3을 사용했습니다.

필요한분들 계시면 유용하게 이용하셨으면 합니다.

추운날씨에 다들 건강하십시요.
추천
12

댓글 전체

유나인님/년소미님,,감사합니다^^

씨끄멍님
board_tail.php 파일은,,list.skin.php와 전혀 상관없는 파일입니다.
아마,,게시판 푸터설정에서 board_tail.php파일이 누락된것 같은데,,확인 한번 해보세요/

사이트웹님.
아마,,그누보드 디렉토리에 /thumbEngine/dq_thumb_engine2.php가 없는것 같습니다.
thumbEngine엔진 첨부합니다,,그누보드 디렉토리에 그냥 업로드 시키시면 됩니다.
감자님...

다른 스킨을 쓰면 아무런 문제가 없이 푸터 부분도 잘 나옵니다.

아마도 utf-8 로 인버터했을 겁니다. 글자가 깨지거던요.... DB가 utf8로 설정이 되어 있어서리.....

bbs/board_tail.php 가 존재하고요....

게시판 설정에서 관리자 하단 파일 경로에 ..board_tail.php 가 있거던요.....

그런데.... 검색도 안나오고....아래까지 통째로 ..... 짤려 버려요..

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

// 게시판 관리의 하단 내용
if ($board[bo_content_tail])
    echo stripslashes($board[bo_content_tail]);

// 게시판 관리의 하단 이미지 경로
if ($board[bo_image_tail])
    echo "<img src='$g4[path]/data/file/$bo_table/$board[bo_image_tail]' border='0'>";

// 게시판 관리의 하단 파일 경로
if ($board[bo_include_tail])
    @include ($board[bo_include_tail]);
?>
아래 섬네일 설정 중에 문제가 있나요?

제일 처음 올리는 이미지는 섬네일 설정도 되고 게시물 아래 검색기능도 보이고 이상이 없으나...

두번째 올리는 게시물에서는 섬네일이 아예 생성도 되질 않고 그 아래 검색기능 이하 다 사라져 버립니다.

블랙홀인가 바여...

두번째 섬네일이 출력될 곳은

<td align=right style='padding:10px 0 10px 0;' valign="top">

여기에 html 문서가 보여야 하는데 증발해 버렸습니다........

 
한번만 봐주세요.....

    <td align=right style='padding:10px 0 10px 0;' valign="top">
<?
//섬네일 관련 설정
$thumb_width  = 160; // 섬네일 최대폭 300
$thumb_height = 150; // 섬네일 최대높이

 //DQ엔진 인클루드 2005-03-22 석훈
include "$g4[path]/thumbEngine/dq_thumb_engine2.php";
$dqEngine['thumb_resize'] = 1;

                echo "<a href='{$list[$i][href]}'>";
                $image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
                if (preg_match("/\.(gif|jpg|png)$/i", $image)) {

$thumbsource="$g4[path]/data/file/$bo_table/" . $image;
$thumbimg="$g4[path]/data/file/$bo_table/thumb_" . $list[$i][wr_id].".jpg";
make_thumb($thumb_width,$thumb_height,$thumbsource,$thumbimg);
@chmod($thumbimg, 0707);

                    echo "<img src='$g4[path]/data/file/$bo_table/thumb_".$list[$i][wr_id].".jpg'  style='border:3px solid #eeeeee' border='0' >";
                } else{
echo "<img src='$board_skin_path/img/noimg.gif' alt='이미지 없음'  border='0'>";
}
                ?>
    </td>
</tr>
<tr><td colspan=3 height=1 bgcolor=#eeeeee></td></tr>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan='$colspan' height=100 align=center>게시물이 없습니다.</td></tr>"; } ?>
</table>
씨끄멍님 안녕하세요.
오류나는 부분글 읽었는데...다른분들도 오류가 나는지 모르겠습니다.?
올리신 구문엔 다른 이상이 없구요..베이직 게시판에 여분필드 추가한 사항이 전부라서..
위의 글로 봐선 저로선 해결 방법을 모르겠네요..ㅡ,.ㅡ

잠시 다른분들도 오류가 나는지 기다려봐야겠습니다.
드림팀님 안녕하세요.
바쁘신걸로 아는데, 이렇게 글까지 남겨주시고 감사드립니다.
"멋"자 들어가는 말은 왠지 멋쩍습니다..긁적긁적^^
저두 씨끄멍님과 똑같은 오류사항인것같은데여~ 첫번째는 잘 올라가고 보이는데 하단부도 잘 보이는데..두번째는 이미지를 올리면 오류나면서 하단부가 안보이네여,,,
에러 메세지는..
Fatal error: Cannot redeclare get_zbpath() in /home/whyweb/www/gboard/thumbEngine/dq_thumb_engine2.php on line 66
------------------------------------
66라인에 해당되는것이...제로보드 경로 얘기인듯한데....무얼 수정해야하는지요?...ㅜㅜ;;
힘센푸우님 안녕하세요.
여러 사이트에 테스트를 해 보아도 아무 이상이 없습니다.
혹 이 댓글 보시면 쪽지로 url주소 좀 남겨 주셨으면 합니다.
힘센푸우님 말씀하신것과 동일한 에러가 나네요. 첫번째는 잘보이는데 두번째 게시물이 아래와 같은 에러가 납니다. 그리고 나서는 나머지 것들은 보이지 않구요.

Fatal error: Cannot redeclare get_zbpath() (previously declared in C:\RWAPM\users\gnu\www\thumbEngine\dq_thumb_engine2.php:67) in C:\RWAPM\users\gnu\www\thumbEngine\dq_thumb_engine2.php on line 80


어디가 잘못된걸까요?
썸네일 에러가 나시는분들은 list.skin.php파일을 아래 소스로 바꿔주세요.
게시판 환경설정에서 여분필드 wr_10에 적당한 수치(1~9)입력해주시구요..
thumbEngine엔진과 상관없이 돌아갑니다.


<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

// 선택옵션으로 인해 셀합치기가 가변적으로 변함
$colspan = 5;

//if ($is_category) $colspan++;
if ($is_checkbox) $colspan++;
if ($is_good) $colspan++;
if ($is_nogood) $colspan++;

// 제목이 두줄로 표시되는 경우 이 코드를 사용해 보세요.
// <nobr style='display:block; overflow:hidden; width:000px;'>제목</nobr>

$max = $board[bo_10] - 5 ; // 이미지의 가로세로(긴쪽)의 최대치.

$noIMG = $board_skin_path."/img/noimage.gif"; // URL
$resol = 80 ; // 생성되는 썸네일의 JPG압축률.(퍼센트%)

function smaller( $W, $H ) {
global $max, $thum_W, $thum_H ;

if ( $W > $H ) { //가로형일 경우.
$thum_W = $max ;
$thum_H = ceil( $H * ( $max / $W ) );
}
if ( $W < $H ) { //세로형일 경우.
$thum_H = $max ;
$thum_W = ceil( $W * ( $max / $H ) );
}
if ( $W == $H ) { //정사각형일 경우.
$thum_W = ceil( $max * 0.8 );
$thum_H = ceil( $max * 0.8 );
}
return $thum_W ;
return $thum_H ;
}


function maker( $thum_W, $thum_H ) {
global $thum, $resol, $ori, $ori_info ;

//$newImg = ImageCreate($thum_W,$thum_H); // GD라이브러리 2.0 (이하일 경우)
$newImg = ImageCreateTrueColor($thum_W,$thum_H); // GD라이브러리 2.0 전용함수

if($ori_info[2]=="2") $origImg=ImageCreateFromjpeg($ori);
if($ori_info[2]=="3") $origImg=ImageCreateFrompng($ori);

//ImageCopyResized($newImg,$origImg,0,0,0,0,$thum_W,$thum_H,ImageSX($origImg),ImageSY($origImg));
imageCopyResampled($newImg,$origImg,0,0,0,0,$thum_W,$thum_H,ImageSX($origImg),ImageSY($origImg));

Imagejpeg($newImg, $thum, $resol );

@chmod($thum,0707);
ImageDestroy($newImg);
ImageDestroy($origImg);

return $thum ;
}
?>

<div style="height:12px; line-height:1px; font-size:1px;">
    <p style="font-size:1px; line-height:1px; height:12px;">&nbsp;</div>

<!-- 게시판 목록 시작 -->
<table width="<?=$width?>" align=center cellpadding=0 cellspacing=0><tr><td>

<!-- 분류 셀렉트 박스, 게시물 몇건, 관리자화면 링크 -->
<table border=0 width="100%" cellspacing="0" cellpadding="0">
<tr height="25">
    <td width="50%">
        <form name="fcategory" method="get" style="margin:0; padding:0;">
        <? if ($is_category) { ?>
        <select name=sca onchange="location='<?=$category_location?>'+this.value;">
        <option value=''>전체</option>
        <?=$category_option?>
        </select>
        <? } ?>
        </form>
    </td>
    <td align="right">
        <img src="<?=$board_skin_path?>/img/icon_total.gif" align=absmiddle>
        <span style="color:#888888; font-weight:bold;">Total <?=number_format($total_count)?></span>
        <? if ($rss_href) { ?><a href='<?=$rss_href?>'><img src='<?=$board_skin_path?>/img/btn_rss.gif' border=0 align=absmiddle></a><?}?>
        <? if ($admin_href) { ?><a href="<?=$admin_href?>"><img src="<?=$board_skin_path?>/img/btn_admin.gif"  border="0" title="관리자" align="absmiddle"></a><?}?>
    </td>
</tr>
<tr><td height=5></td>
                    <td></td>
</tr>
</table>

<!-- 제목 -->
<form name="fboardlist" method="post" style="margin:0;">
                <p style="margin:0;"><input type='hidden' name='bo_table' value='<?=$bo_table?>'>
<input type='hidden' name='sfl'  value='<?=$sfl?>'>
<input type='hidden' name='stx'  value='<?=$stx?>'>
<input type='hidden' name='spt'  value='<?=$spt?>'>
<input type='hidden' name='page' value='<?=$page?>'>
<input type='hidden' name='sw'  value=''>
<!---- 게시판 상단 생략 ------
<div style="border:1px solid #ddd; height:34px; background:url(<?=$board_skin_path?>/img/title_bg.gif) repeat-x;">
<table width=100% border=0 cellpadding=0 cellspacing=0 style="font-weight:bold; color:#505050;">
<tr height=34 align=center>
    <td width=50>번호</td>
    <? if ($is_checkbox) { ?><td width=40><input onclick="if (this.checked) all_checked(true); else all_checked(false);" type=checkbox></td><?}?>
    <td>제&nbsp;&nbsp;&nbsp;목</td>
    <td width=110>글쓴이</td>
    <?/**/?><td width=40><?=subject_sort_link('wr_datetime', $qstr2, 1)?>날짜</a></td>
    <td width=50><?=subject_sort_link('wr_hit', $qstr2, 1)?>조회</a></td><?/**/?>
    <td width=40>날짜</td>
    <td width=50>조회</td>
    <?/*?><td width=40 title='마지막 코멘트 쓴 시간'><?=subject_sort_link('wr_last', $qstr2, 1)?>최근</a></td><?*/?>
    <? if ($is_good) { ?><td width=40><?=subject_sort_link('wr_good', $qstr2, 1)?>추천</a></td><?}?>
    <? if ($is_nogood) { ?><td width=40><?=subject_sort_link('wr_nogood', $qstr2, 1)?>비추천</a></td><?}?>
</tr>
</table>
</div>
----- 게시판 상단 생략 ------>
<table width=100% border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=3 height=1 bgcolor=#eeeeee></td></tr>
<!-- 목록 -->
<? for ($i=0; $i<count($list); $i++) { ?>
<tr height=29 align=center>
    <? if ($is_checkbox) { ?><td width=40><input type=checkbox name=chk_wr_id[] value="<?=$list[$i][wr_id]?>"></td><? } ?>
    <td align=left style='padding:10px 0 10px 0;' valign="top">
                            <table cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td width='55'><img src="<?=$board_skin_path?>/img/img01.gif" align='absmiddle'></td>
                                    <td><b><a href='<?=$list[$i][href]?>'><?=$list[$i][subject]?></b>&nbsp;<? if ($is_category) { ?><a href="<?=$list[$i][ca_name_href]?>"><font color=gray>[<?=$list[$i][ca_name]?>]</font></a><? } ?></td>
                                </tr>
                                <tr>
                                    <td width='55'><img src="<?=$board_skin_path?>/img/img02.gif" align='absmiddle'></td>
                                    <td>
<? if ($list[$i][wr_link1]) {
echo "{$list[$i][wr_link1]}&nbsp;<a href='{$list[$i][wr_link1]}' target='blank'><img src='{$board_skin_path}/img/img08.gif' border='0' alt='바로가기' align='absmiddle'></a>";
} else {
echo "미정";
}
?></td>
                                </tr>
                                <tr>
                                    <td width='55'><img src="<?=$board_skin_path?>/img/img03.gif" align='absmiddle'></td>
                                    <td><?=$list[$i][wr_2]?></td>
                                </tr>
                                <tr>
                                    <td width='55'><img src="<?=$board_skin_path?>/img/img04.gif" align='absmiddle'></td>
                                    <td><?=$list[$i][wr_3]?></td>
                                </tr>
                                <tr>
                                    <td width='55'><img src="<?=$board_skin_path?>/img/img05.gif" align='absmiddle'></td>
                                    <td><?=cut_str(strip_tags($list[$i][wr_content]), 100);?>
                                    </td>
                                </tr>
                                <tr>
                                    <td><img src="<?=$board_skin_path?>/img/img06.gif" align='absmiddle'></td>
                                    <td>
<!---- 진행 그래프 ---->
<script src="<?=$board_skin_path?>/flash/flash.js"></script>
        <script>print_flash("<?=$board_skin_path?>/flash/progress.swf?num=<?=$list[$i][wr_1]?>&","150","20");</script>
                                    </td>
                                </tr>
                            </table>

    </td>
    <td align=right style='padding:10px 0 10px 0;' valign="top">
<? // 이미지 처리부분
##################################################################
$thum = "";
$list_view = "";
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
$images = "$g4[path]/data/file/$bo_table/$image";

if (preg_match("/\.(gif|jpg|png)$/i", $image) && file_exists("$g4[path]/data/file/$bo_table/$image")) {


if (preg_match("/\.(gif|jpg|png)$/i", $image) && file_exists("$g4[path]/data/file/$bo_table/$image")) {
$ori = "$g4[path]/data/file/$bo_table/$image"; //[필수](URL) "./img/Test.gif"
}

$ext = strtolower(substr(strrchr($ori,"."), 1)); //확장자

if ( $ext=="gif"||$ext=="jpg"||$ext=="jpeg"||$ext=="png"||$ext=="bmp"||$ext=="tif"||$ext=="tiff")
$ori_info=getimagesize($ori);
else
$ori_info="";

//===== 원파일이 [ 2JPG, 2JPEG, 3PNG ] 경우
if ( $ori_info[2]=="2" || $ori_info[2]=="3" ) {
$thum = $ori.".Thum" ;

if ( file_exists($thum) ) { // Thumbnail [O] 경우
$thum_info = getimagesize ($thum);
$thum_W = $thum_info[0] ;
        $thum_H = $thum_info[1] ;

       
}
else { // Thumbnail [X] 경우
if ( smaller( $ori_info[0], $ori_info[1] ) ) {
maker( $thum_W, $thum_H );
}
}

}

//===== 원파일이 [ 1GIF,6BMP,7TIF ] 경우
else if ( $ori_info[2]=="1" || $ori_info[2]=="6" || $ori_info[2]=="7" ) {
if ( smaller( $ori_info[0], $ori_info[1] ) ) { $thum = $ori ; }
}

//===== 원파일이 [ 1,2,3,6,7 ] 아닐 경우
else {
$thum = $noIMG ;
$noIMG_info = getimagesize ($noIMG);
$thum_W = $noIMG_info[0] ;
$thum_H = $noIMG_info[1] ;
}

  $list_view = "<img src='$thum' width='$thum_W' height='$thum_H' border=0 align=absmiddle>";

} else if (preg_match("/\.($config[cf_flash_extension])$/i", $image)) {

  $list_view = "<embed src='$images' width='96' height='72'></embed>";
 
} else if (preg_match("/\.($config[cf_movie_extension])$/i", $image)) { 

  $list_view = "<embed src='$images' width='96' height='72'></embed>";
 
} else { $list_view = ""; }
 
##################################################################
?>
<a href='<?=$list[$i][href]?>'><?=$list_view?></a>
    </td>
</tr>
<tr><td colspan=3 height=1 bgcolor=#eeeeee></td></tr>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan='$colspan' height=100 align=center>게시물이 없습니다.</td></tr>"; } ?>
</table>
</form>


<div style="clear:both; margin-top:7px; height:31px;">
    <div style="float:left;">
    <? if ($list_href) { ?>
    <a href="<?=$list_href?>"><img src="<?=$board_skin_path?>/img/btn_list.gif" border="0" align=absmiddle></a>
    <? } ?>
    <? if ($is_checkbox) { ?>
    <a href="javascript:select_delete();"><img src="<?=$board_skin_path?>/img/btn_select_delete.gif" border="0" align=absmiddle></a>
    <a href="javascript:select_copy('copy');"><img src="<?=$board_skin_path?>/img/btn_select_copy.gif" border="0" align=absmiddle></a>
    <a href="javascript:select_copy('move');"><img src="<?=$board_skin_path?>/img/btn_select_move.gif" border="0" align=absmiddle></a>
    <? } ?>
    </div>

    <div style="float:right;">
    <? if ($write_href) { ?><a href="<?=$write_href?>"><img src="<?=$board_skin_path?>/img/btn_write.gif" border="0"></a><? } ?>
    </div>
</div>

<div style="height:1px; line-height:1px; font-size:1px; background-color:#eee; clear:both;">
                <p style="font-size:1px; line-height:1px; background-color:rgb(224,224,224); height:1px; clear:both;">&nbsp;</div>
<div style="height:1px; line-height:1px; font-size:1px; background-color:#ddd; clear:both;">
                <p style="font-size:1px; line-height:1px; background-color:rgb(208,208,208); height:1px; clear:both;">&nbsp;</div>

<!-- 페이지 -->
<div style="text-align:center; line-height:30px; clear:both; margin:5px 0 10px 0; padding:5px 0; font-family:gulim;">

    <? if ($prev_part_href) { echo "<a href='$prev_part_href'><img src='$board_skin_path/img/page_search_prev.gif' border=0 align=absmiddle title='이전검색'></a>"; } ?>
    <?
    // 기본으로 넘어오는 페이지를 아래와 같이 변환하여 이미지로도 출력할 수 있습니다.
    //echo $write_pages;
    $write_pages = str_replace("처음", "<img src='$board_skin_path/img/page_begin.gif' border='0' align='absmiddle' title='처음'>", $write_pages);
    $write_pages = str_replace("이전", "<img src='$board_skin_path/img/page_prev.gif' border='0' align='absmiddle' title='이전'>", $write_pages);
    $write_pages = str_replace("다음", "<img src='$board_skin_path/img/page_next.gif' border='0' align='absmiddle' title='다음'>", $write_pages);
    $write_pages = str_replace("맨끝", "<img src='$board_skin_path/img/page_end.gif' border='0' align='absmiddle' title='맨끝'>", $write_pages);
    $write_pages = preg_replace("/<span>([0-9]*)<\/span>/", "<b><span style=\"color:#B3B3B3; font-size:12px;\">$1</span></b>", $write_pages);
    $write_pages = preg_replace("/<b>([0-9]*)<\/b>/", "<b><span style=\"color:#4D6185; font-size:12px; text-decoration:underline;\">$1</span></b>", $write_pages);
    ?>
    <?=$write_pages?>
    <? if ($next_part_href) { echo "<a href='$next_part_href'><img src='$board_skin_path/img/page_search_next.gif' border=0 align=absmiddle title='다음검색'></a>"; } ?>

</div>

<!-- 링크 버튼, 검색 -->
<div style="text-align:center;">
<form name=fsearch method=get style="margin:0px;">
                    <p style="margin:0px;"><input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=sca      value="<?=$sca?>">
<select name=sfl style="background-color:#f6f6f6; border:1px solid #7f9db9; height:21px;">
    <option value='wr_subject'>제목</option>
    <option value='wr_content'>내용</option>
    <option value='wr_subject||wr_content'>제목+내용</option>
    <option value='mb_id,1'>회원아이디</option>
    <option value='mb_id,0'>회원아이디(코)</option>
    <option value='wr_name,1'>글쓴이</option>
    <option value='wr_name,0'>글쓴이(코)</option>
</select>
<input name=stx maxlength=15 itemname="검색어" required value='<?=$stx?>' style="width:204px; background-color:#f6f6f6; border:1px solid #7f9db9; height:21px;">
<input type=image src="<?=$board_skin_path?>/img/btn_search.gif" border=0 align=absmiddle>
<input type=radio name=sop value=and>and
<input type=radio name=sop value=or>or

</form>
</div>

</td></tr></table>

<script language="JavaScript">
if ('<?=$sca?>') document.fcategory.sca.value = '<?=$sca?>';
if ('<?=$stx?>') {
    document.fsearch.sfl.value = '<?=$sfl?>';

    if ('<?=$sop?>' == 'and')
        document.fsearch.sop[0].checked = true;

    if ('<?=$sop?>' == 'or')
        document.fsearch.sop[1].checked = true;
} else {
    document.fsearch.sop[0].checked = true;
}
</script>

<? if ($is_checkbox) { ?>
<script language="JavaScript">
function all_checked(sw) {
    var f = document.fboardlist;

    for (var i=0; i<f.length; i++) {
        if (f.elements[i].name == "chk_wr_id[]")
            f.elements[i].checked = sw;
    }
}

function check_confirm(str) {
    var f = document.fboardlist;
    var chk_count = 0;

    for (var i=0; i<f.length; i++) {
        if (f.elements[i].name == "chk_wr_id[]" && f.elements[i].checked)
            chk_count++;
    }

    if (!chk_count) {
        alert(str + "할 게시물을 하나 이상 선택하세요.");
        return false;
    }
    return true;
}

// 선택한 게시물 삭제
function select_delete() {
    var f = document.fboardlist;

    str = "삭제";
    if (!check_confirm(str))
        return;

    if (!confirm("선택한 게시물을 정말 "+str+" 하시겠습니까?\n\n한번 "+str+"한 자료는 복구할 수 없습니다"))
        return;

    f.action = "./delete_all.php";
    f.submit();
}

// 선택한 게시물 복사 및 이동
function select_copy(sw) {
    var f = document.fboardlist;

    if (sw == "copy")
        str = "복사";
    else
        str = "이동";
                     
    if (!check_confirm(str))
        return;

    var sub_win = window.open("", "move", "left=50, top=50, width=500, height=550, scrollbars=1");

    f.sw.value = sw;
    f.target = "move";
    f.action = "./move.php";
    f.submit();
}
</script>
<? } ?>
<!-- 게시판 목록 끝 -->
두번째 게시물 부터 에러나시는 분들
저는 129라인의 include "$g4[path]/thumbEngine/dq_thumb_engine2.php"; 을
77라인의 for ($i=0; $i<count($list); $i++) { ?> 위로 빼내어서 넣으니 제대로 돌아갑니다.
dq엔진이 for문안에서 계속도니까 중복되어서 에러나는것 같습니다.
include된 dq엔진을 for문 밖으로 빼주시면 제대로 될것 같습니다.
저같은 초보는 잘 모르니까요~~~
완벽한 구문은
<? include "$g4[path]/thumbEngine/dq_thumb_engine2.php";?>
입니다.
인클루드구문을 넣어주여야되니까^^
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /web/home/gn21/html/skin/board/basic_progress/list.skin.php on line 44

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /web/home/gn21/html/skin/board/basic_progress/list.skin.php on line 50

Warning: imagejpeg(): supplied argument is not a valid Image resource in /web/home/gn21/html/skin/board/basic_progress/list.skin.php on line 52

Warning: imagedestroy(): supplied argument is not a valid Image resource in /web/home/gn21/html/skin/board/basic_progress/list.skin.php on line 55

전 이런에러가 뜨네요 뭐가 문제일까요?^^;;;;
해피홀릭님...소스를 수정하시고 난후 생긴 이후에 생긴 오류시네요 저도 그문제로 다시 원본 소스 list_skin.php로 파일을 연뒤 위에 아트이즈 님이 수정하라고 하시는 부분대로 129 라인부분에 include "$g4[path]/thumbEngine/dq_thumb_engine2.php"; 이 것을 잘라내기 하여 77라인 for문 위에 올려놓으니 문제가 해결이 되었네요...흐음 그나저나 ^^ 아직 저도 100% 넘어가는 완료율 때문에 머리가 아파옵니다.
역시 불량감자님의 스킨은 보물덩어리들 입니다....

이 스킨을 이용해 작업장 프로세스처리진행사항 스킨으로 구조변경 한번 도전해보려합니다 


참...잊지않고 추천~  ^^
궁금한게 있는데요 수정을 하면 리스트 페이지에서
썸네일이 맨처음 올렸던게 계속 나오네요-_-
수정된 이미지가 안나오구요?
어케 해야하나요?
진행율 칸에 0% 적으면 한없이 올라가네요.

그래서 1% 로 해봤더니 진행율 에러는 없었습니다.

그리고, list.skin.php 원본첨부파일에서

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

<!-- 중간에 끼어 넣었습니다 -->
include 어쩌구 저쩌구 한 내용    <---- 199라인에서 가져다가 요기로..
<!-- 중간 끼어넣기 끝 -->

// 선택옵션으로 인해 셀합치기가 가변적으로 변함
$colspan = 5;
ㅠㅠ 도와주세요,,, 2개 스킨을 받아서 업로드 시켰는데,,보니깐

 thumbEngine 스킨 폴더 안에 사용 설명서가 있던데

참,,난감합니다,,수정하는 법 조차 모르겠네요,,너무 어렵습니다,,도와주세요,, 고수님들아~~
thumbEngine/dq_thumb_engine2.php : 66줄
이런 오류 나는 분들 많아서 보니까......

66줄 가보니 제로보드 관련 소스가 있네요 ㅎㅎㅎ;

//제로보드 절대 경로 알아내기
function get_zbPath() {
global $_zb_path;

if($_zb_path && file_exists($_zb_path."zboard.php")) return $_zb_path;
else {
if(@is_file("./zboard.php")) $_zb_path = realpath("./");
elseif(@is_file("../zboard.php")) $_zb_path = realpath("../");
elseif(@is_file("../../zboard.php")) $_zb_path = realpath("../../");
elseif(@is_file("../../../zboard.php")) $_zb_path = realpath("../../../");
elseif(@is_file("../../../../zboard.php")) $_zb_path = realpath("../../../../");

if($_zb_path) $_zb_path .= "/";
}
if($_zb_path) return $_zb_path;
}

다른부분도 이름은 zb지만 그누에 맞춰 수정 된거 같은데

위같은 경우는 아예 제로보드 환경인거 같아요 ㅎ
굿.. 참 6년전에 어떤님이 계발하신 프로그램이.. 아직까지 이렇게 어느 한 웹디자인 초보에게 좋은 상품으로 쓰이다니.. 대단하네요. 그누보드는 마약인듯.
전체 40 |RSS
그누4 스킨 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT